package com.hsnn.medstgmini.pro.project.model;

import java.sql.Blob;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name="bid_contract")
public class BidContract {
	
	@Id
	@Column(name="contract_id")
	private String contractId;//合同id
	
	@Column(name="proj_id")
	private String projId;//项目id
	
	@Column(name="contract_model_id")
	private String contractModelId;//合同模板id
	
	@Column(name="contract_code")
	private String contractCode;//合同编码
	
	@Column(name="contract_title")
	private String contractTitle;//合同标题
	
	@Column(name="contract_content")
	private Blob blobContractContent;//合同内容
	
	@Transient
	private String content;//合同内容String

	@Column(name="audit_user")
	private String auditUser;//审核人
	
	@Column(name="audit_status")
	private Integer auditStatus;//审核状态 0新建 1提交 2审核通过 3审核不通过
	
	@Column(name="audit_datetime")
	private Timestamp auditDatetime;//审核日期
	
	@Column(name="status")
	private Integer status;//状态
	
	@Column(name="upd_datetime")
	private Timestamp updDatetime;//更新时间
	
	@Column(name="upd_user")
	private String updUser;//更新人
	
	@Column(name="pdf_file_path")
	private String pdfFilePath;
	
	@Column(name="swf_file_path")
	private String swfFilePath;
	
	@Column(name="audit_remark")
	private String auditRemark;

	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public String getContractId() {
		return contractId;
	}

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPdfFilePath() {
		return pdfFilePath;
	}

	public void setPdfFilePath(String pdfFilePath) {
		this.pdfFilePath = pdfFilePath;
	}

	public String getSwfFilePath() {
		return swfFilePath;
	}

	public void setSwfFilePath(String swfFilePath) {
		this.swfFilePath = swfFilePath;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getProjId() {
		return projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	public String getContractModelId() {
		return contractModelId;
	}

	public void setContractModelId(String contractModelId) {
		this.contractModelId = contractModelId;
	}

	public String getContractCode() {
		return contractCode;
	}

	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}

	public String getContractTitle() {
		return contractTitle;
	}

	public void setContractTitle(String contractTitle) {
		this.contractTitle = contractTitle;
	}

	public Blob getBlobContractContent() {
		return blobContractContent;
	}

	public void setBlobContractContent(Blob blobContractContent) {
		this.blobContractContent = blobContractContent;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}

	public Timestamp getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Timestamp updDatetime) {
		this.updDatetime = updDatetime;
	}

	public String getUpdUser() {
		return updUser;
	}
    
	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	
	public Timestamp getAuditDatetime() {
		return auditDatetime;
	}

	public void setAuditDatetime(Timestamp auditDatetime) {
		this.auditDatetime = auditDatetime;
	}
}
